
/*
 * Vendor "display: box" support.
 */

display(type)
  if box == type
    display: vendor-value(type)
  else
    display: type

/*
 * Synopsis:
 *
 *   box: <orient> [direction]
 *
 * Examples:
 *
 *     box: horizontal
 *     box: horizontal reverse
 *
 */

box(args...)
  display: box
  box-orient: args[0]
  if args[1]
    box-direction: args[1]
